package com.imooc.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * SpringContext中相关的bean
 *
 * 这里扫描的是除了Controller 包外的其他的类
 * 父容器的配置
 *
 * @return
 */
@Configuration
@ComponentScan(value = {"com.imooc.service","com.imooc.valid"})
public class  SpringRootConfig {
}
